package com.ushine.web.communication.tcp;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: yls
 * @Date: 2021/03/30 23:39
 * @Description: 定义接口文档相关的配置信息
 * @Version 1.0
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "netty.websocket")
public class NettyWebsocketConfig {
    /**
     * socket服务端口
     */
    private Integer port;

    /**
     * 绑定的ip
     */
    private String ip;

    /**
     * 消息帧的最大体积
     */
    private int maxFrameSize;

    /**
     * URI路径
     */
    private String path;

}
